package tjs.study.notes.dotest.jvm.classload.agent;

import tjs.study.notes.dotest.jvm.classload.DoTestOfMyClassLoad;

/**
 * Created by Nicky.Tang on 2024/7/17 16:31
 *
 * @since 02.12.10
 */
public class KafkaPlugin extends IPlugin{
    private DoTestOfMyClassLoad d;
    @Override
    public void start() {
        System.out.println("kafka采集中。。。");
        // 加载某个类A，只会默认加载类A以及所有父类、静态相关类；成员属性类、形参类只会在使用时加载
        DoTestOfMyClassLoad doTestOfMyClassLoad = new DoTestOfMyClassLoad();
        doTestOfMyClassLoad.getClass();
    }
}
